package org.tea.inventory.model.to;

import lombok.Data;
import org.tea.inventory.model.vo.SkuVo;

/**
 * @Description: 给Redis中存放的skuInfo的信息
 * @Created: with IntelliJ IDEA.
 * @author: 夏沫止水
 * @createTime: 2020-07-09 21:39
 **/

@Data
public class SeckillSkuRedisTo {

    /**
     * 活动id
     */
    private Long welfareId;

    /**
     * 商品id
     */
    private Long skuId;
    /**
     * 秒杀总量
     */
    private Integer seckillCount;

    //sku的详细信息
    private SkuVo skuInfo;

    //当前商品秒杀的开始时间
    private Long startTime;

    //当前商品秒杀的结束时间
    private Long endTime;

    //当前商品秒杀的随机码
    private String randomCode;

}
